<include file="__PUBLIC__/head.php">
	<title>修改系列</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}"><i class="icon-sitemap mr3 gray"></i>系列管理</a>
		<a href="{|U:'add'}" class="act"><i class="icon-plus mr3 gray"></i>添加系列</a>
		<a href="{|U:'updateCache'}" class="ajax" actUrl="{|U('index')}"><i class="icon-refresh mr3 gray"></i>更新缓存</a>
	</div>
<form action="" method="post" enctype="multipart/form-data">
	<input type="hidden" value="{$field.xid}" name="xid">
	<div class="p10">
		<table class="table form">
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">系列标题</span></td>
				<td><input class="pct50" type="text" name="title" value="{$field.title}" /></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">更新时间</span></td>
				<td>
					<select name="comp" class="selecteds">
						<option value="0" <if value="$field.comp eq 0">selected="selected"</if>>不定期更新...</option>
						<option value="1" <if value="$field.comp eq 1">selected="selected"</if>>每周一更新</option>
						<option value="2" <if value="$field.comp eq 2">selected="selected"</if>>每周二更新</option>
						<option value="3" <if value="$field.comp eq 3">selected="selected"</if>>每周三更新</option>
						<option value="4" <if value="$field.comp eq 4">selected="selected"</if>>每周四更新</option>
						<option value="5" <if value="$field.comp eq 5">selected="selected"</if>>每周五更新</option>
						<option value="6" <if value="$field.comp eq 6">selected="selected"</if>>每周六更新</option>
						<option value="7" <if value="$field.comp eq 7">selected="selected"</if>>每周日更新</option>
						<option value="8" <if value="$field.comp eq 8">selected="selected"</if>>每周更新</option>
						<option value="9" <if value="$field.comp eq 9">selected="selected"</if>>每两周更新</option>
						<option value="10" <if value="$field.comp eq 10">selected="selected"</if>>每三周更新</option>
						<option value="11" <if value="$field.comp eq 11">selected="selected"</if>>每月更新</option>
						<option value="12" <if value="$field.comp eq 12">selected="selected"</if>>每两个月更新</option>
					</select>
				</td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">剧集链接</span></td>
				<td><input class="pct80" type="text" name="firstUrl" placeholder="第一次打开时，显示的视频地址" value="{$field.firstUrl}"  /></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">剧集介绍</span></td>
				<td><textarea class="pct80" name="intros" cols="30" rows="5">{$field.intros}</textarea></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">当前更新剧集</span></td>
				<td><input class="pct10" type="text" name="act" value="1" value="{$field.act}" /> 集</td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">封面图片</span></td>
				<td>
					<fieldset class="bgwhite pct50">
						<legend>上传图片</legend>
						<input type="file"  name="pic" />
					</fieldset>
					<if value="$field.pic">
						<img width="50" src="__ROOT__/{$field.pic}" alt="">
						<input type="hidden" name="oldpic" value="{$field.pic}">
					</if>
				</td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">是否作为幻灯片</span></td>
				<td>
					<label for="sl1">
					<input <if value="$field.slide">checked=""</if> type="checkbox" id="sl1" name="slide" value="1" class="pl10" /> 作为幻灯片
					</label>
					<span class="ml5 red ">[请确认已经选择了要上传的文件后再勾选]</span>
					<if value="$field.slidePic">
						<input type="hidden" name="oldslidepic" value="{$field.slidePic}">
					</if>
				</td>
			</tr>

		</table>
	</div>
	<div class="fixBottom">
		<p class="p5 tc"><input type="submit" class="btn bgblack f20" value='确定操作' /></p>
	</div>
</form>
</body>
</html>